serial: powerpc: Implement CONFIG_SERIAL_MULTI into iop480 serial driver
authorMarek Vasut <[email protected]>
Wed, 12 Sep 2012 23:40:33 +0000 (01:40 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:53:52 +0000 (11:53 -0700)
commitfcc2074d5799255e6a56a2adc48fcc03f0889e00
treef4bef9fce4ffe57009c4c60eafc51fefe9160a0d
parent7a31154627468a37cf24780832fc614056a71035
serial: powerpc: Implement CONFIG_SERIAL_MULTI into iop480 serial driver

Implement support for CONFIG_SERIAL_MULTI into iop480 serial driver.
This driver was so far only usable directly, but this patch also adds
support for the multi method. This allows using more than one serial
driver alongside the iop480 driver. Also, add a weak implementation
of default_serial_console() returning this driver.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Stefan Roese <[email protected]>
arch/powerpc/cpu/ppc4xx/iop480_uart.c
common/serial.c